package cn.xuguowen.user.designPatten.strategy.hsp.strategy;


import java.util.Objects;

/**
 * ClassName: BeiJingDuck
 * Package: cn.xuguowen.user.designPatten.strategy.hsp.tradition
 * Description:
 * 北京鸭
 *
 * @Author 徐国文
 * @Create 2023/4/28 12:13
 * @Version 1.0
 */
public class BeiJingDuck extends Duck {

    public BeiJingDuck() {
        flyBehavior = new BadFlyBeavior();
        quakeBehavior = new GoodQuakeBehavior();
    }

    @Override
    public void display() {
        System.out.println("这是北京鸭");
    }

}
